package com.example.springboot.service;

import com.example.springboot.entity.user;
import com.example.springboot.mapper.loginMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class loginService {
    @Autowired
    private loginMapper loginMapper;
    public List<user> findByUsername(String username) {
        return loginMapper.findByUsername(username);
    }


}
